runtime.p.runqtail (field)
19 uses
runtime (current package)
metrics.go#L836: t := atomic.Load(&p.runqtail)
proc.go#L4160: if mp.spinning && (pp.runnext != 0 || pp.runqhead != pp.runqtail) {
proc.go#L5952: for pp.runqhead != pp.runqtail {
proc.go#L5954: pp.runqtail--
proc.go#L5955: gp := pp.runq[pp.runqtail%uint32(len(pp.runq))].ptr()
proc.go#L6915: t := atomic.Load(&pp.runqtail)
proc.go#L7454: tail := atomic.Load(&pp.runqtail)
proc.go#L7456: if tail == atomic.Load(&pp.runqtail) {
proc.go#L7509: t := pp.runqtail
proc.go#L7512: atomic.StoreRel(&pp.runqtail, t+1) // store-release, makes the item available for consumption
proc.go#L7570: t := pp.runqtail
proc.go#L7581: return (pp.runqtail + o) % uint32(len(pp.runq))
proc.go#L7589: atomic.StoreRel(&pp.runqtail, t)
proc.go#L7610: t := pp.runqtail
proc.go#L7631: t := pp.runqtail
proc.go#L7665: t := atomic.LoadAcq(&pp.runqtail) // load-acquire, synchronize with the producer
proc.go#L7731: t := pp.runqtail
proc.go#L7745: atomic.StoreRel(&pp.runqtail, t+n) // store-release, makes the item available for consumption
runtime2.go#L804: runqtail uint32
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |